#-------------------------------------------------
#
# Project created by QtCreator 2012-12-28T22:18:47
#
#-------------------------------------------------

QT       += core gui
QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = PhoenixMessenger
TEMPLATE = app

SOURCES += main.cpp\
        LoginWindow.cpp \
    WindowManager.cpp \
    PeopleWindow.cpp \
    BaseWindow.cpp \
    Satory.cpp \
    Crypter.cpp \
    RegisterWindow.cpp \
    Requests.cpp \
    NotifWindow.cpp \
    KeyGetWindow.cpp \
    ChoiceWindow.cpp \
    FindWindow.cpp \
    Dream.cpp \
    ChatWindow.cpp


HEADERS  += LoginWindow.h \
    PeopleWindow.h \
    WindowManager.h \
    tools.h \
    BaseWindow.h \
    Satory.h \
    Crypter.h \
    RegisterWindow.h \
    Requests.h \
    NotifWindow.h \
    KeyGetWindow.h \
    ChoiceWindow.h \
    FindWindow.h \
    Dream.h \
    ChatWindow.h


FORMS    += LoginWindow.ui \
    PeopleWindow.ui \
    RegisterWindow.ui \
    NotifWindow.ui \
    KeyGetWindow.ui \
    ChoiceWindow.ui \
    FindWindow.ui \
    ChatWindow.ui


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/tom/ -ltomcrypt
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/tom/ -ltomcrypt
else:unix: LIBS += -L$$PWD/tom/ -ltomcrypt

INCLUDEPATH += $$PWD/tom
DEPENDPATH += $$PWD/tom

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/tom/ -ltomcrypt
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/tom/ -ltomcrypt
else:unix: LIBS += -L$$PWD/tom/ -ltomcrypt

INCLUDEPATH += $$PWD/tom
DEPENDPATH += $$PWD/tom

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/json/ -lJsonCPP
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/json/ -lJsonCPP
else:unix: LIBS += -L$$PWD/json/ -lJsonCPP

INCLUDEPATH += $$PWD/json
DEPENDPATH += $$PWD/json

win32:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/json/JsonCPP.lib
else:win32:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/json/JsonCPP.lib
else:unix: PRE_TARGETDEPS += $$PWD/json/libJsonCPP.a
